package com.isoft.hospital.entity;

public class Inhospital {
    private int ba_id;
    private  int bf_id;
    private String zhtime;
    private String chtime;
    private int p_id;
    private int d_id;

    public int getBa_id() {
        return ba_id;
    }

    public void setBa_id(int ba_id) {
        this.ba_id = ba_id;
    }

    public int getBf_id() {
        return bf_id;
    }

    public void setBf_id(int bf_id) {
        this.bf_id = bf_id;
    }

    public String getZhtime() {
        return zhtime;
    }

    public void setZhtime(String zhtime) {
        this.zhtime = zhtime;
    }

    public String getChtime() {
        return chtime;
    }

    public void setChtime(String chtime) {
        this.chtime = chtime;
    }

    public int getP_id() {
        return p_id;
    }

    public void setP_id(int p_id) {
        this.p_id = p_id;
    }

    public int getD_id() {
        return d_id;
    }

    public void setD_id(int d_id) {
        this.d_id = d_id;
    }

    public Inhospital() {
    }

    public Inhospital(int ba_id, int bf_id, String zhtime, String chtime, int p_id, int d_id) {
        this.ba_id = ba_id;
        this.bf_id = bf_id;
        this.zhtime = zhtime;
        this.chtime = chtime;
        this.p_id = p_id;
        this.d_id = d_id;
    }

    @Override
    public String toString() {
        return "Inhospital{" +
                "ba_id=" + ba_id +
                ", bf_id=" + bf_id +
                ", zhtime='" + zhtime + '\'' +
                ", chtime='" + chtime + '\'' +
                ", p_id=" + p_id +
                ", d_id=" + d_id +
                '}';
    }
}
